import React from 'react';
import { Segmented } from 'antd';

const Toptabs: React.FC = () => (
  <Segmented<string>
    options={['全部', '待接诊', '已接诊', '已失效']}
    onChange={(value) => {
      console.log(value); // string
    }}
  />
);

export default Toptabs;